home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / CODING / GRAPHICS / F_IMATH.ZIP / VARS.INC < prev   
Encoding:
Text File  |  1995-01-03  |  1.3 KB  |  37 lines

  1.  
  2. ; some data labels for math.inc
  3. ;
  4. ; some may be missing, you'll know which ones are missing when you compile it.
  5.  
  6. xad                dd ?                     ; 3d offset of object
  7. yad                dd ?
  8. zad                dd ?
  9. vxcos              dd ?
  10. vxsin              dd ?
  11. vycos              dd ?
  12. vysin              dd ?
  13. vzcos              dd ?
  14. vzsin              dd ?
  15.  
  16. _ecosx             dd ?                     ; multipliers of eyeax and eyeaz
  17. _esinx             dd ?                     ; reset at begining of each new frame
  18. _ecosy             dd ?
  19. _esiny             dd ?
  20. _ecosz             dd ?
  21. _esinz             dd ?
  22.  
  23. vcosx              dd ?                     ; temp storage for object matrix calculation
  24. vsinx              dd ?                     ; can be used if needed during draw
  25. vcosy              dd ?
  26. vsiny              dd ?
  27. vcosz              dd ?
  28. vsinz              dd ?
  29.  
  30. _vmatrix           dd 9 dup (?)             ; 3x3 rotation matrix for object (includes eye)
  31. _tmatrix           dd 9 dup (?)             ; 3x3 temp rotation matrix for hierarchys
  32. _ematrix           dd 9 dup (?)             ; 3x3 rotation matrix for eye (32 bit)
  33. _lmatrix           dd 3 dup (?)             ; 1x3 z resultant matrix for _lambert shading
  34.  
  35. _y_angle_of_sun    dd 1500h                 ; where is the sun? for shading
  36.  
  37.